/**
 * 
 */
package com.acme.bankapp.account;

/**
 * @author Alekov Andrey
 * Account type enumeration.
 */
public enum AccountType {
	SAVING("saving"), CHECKING("checking");
	private String type;

	/**
	 * Constructor
	 */
	AccountType(String type) {
		this.type = type;
	}

	/**
	 * Get account type.
	 * @return enum type
	 */
	public String getType() {
		return type;
	}
}
